Keysight Pathwave 89600 VSA .NET API
GetParsedArrayValueOrDefault(String,String[]) Method
See Also 
Agilent.SA.Vsa.Interfaces Assembly > Agilent.SA.Vsa Namespace > CapabilityReadOnlyDictionary Class > GetParsedArrayValueOrDefault Method : GetParsedArrayValueOrDefault(String,String[]) Method


key
The key of the value to get.
defaultValue
The default value to return when the dictionary cannot find a value associated with the specified key.

Glossary Item Box

Gets the value associated with the specified key and parses it into an array of strings or a default value if the key is not found. The delimiter used is a space and single quotes can be used to include spaces in a single string.

Syntax

Visual Basic (Declaration) 
Public Overloads Function GetParsedArrayValueOrDefault( _
   ByVal key As String, _
   ByVal defaultValue() As String _
) As String()
C# 
public string[] GetParsedArrayValueOrDefault( 
   string key,
   string[] defaultValue
)
C++/CLI 
public:
array<String^>^ GetParsedArrayValueOrDefault( 
   String^ key,
   array<String^>^ defaultValue
) 

Parameters

key
The key of the value to get.
defaultValue
The default value to return when the dictionary cannot find a value associated with the specified key.

Return Value

When the method is successful, the returned value is the value associated with the specified key where the value has been parsed into an array. When the method fails, it returns defaultValue.

Requirements

Target Platforms: Windows 11 Professional or Enterprise; Windows 10 Professional, Enterprise, or Education (64-bit)

See Also